package com.ruoyi.product.feign;


import com.ruoyi.product.domain.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ruoyi-order")
@Component
public interface OrderFeignSerivce {

    @GetMapping("/order/query_state/{out_trade_no}")
    JsonData queryProductOrderState(@PathVariable("out_trade_no")String outTradeNo);
}
